package cn.stylefeng.guns.modular.ums.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * VIP价格信息表
 * </p>
 *
 * @author yzb
 * @since 2019-11-07
 */
@TableName("ums_vip")
public class Vip implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * VIP id
     */
    @TableId(value = "vip_id", type = IdType.AUTO)
    private Integer vipId;

    /**
     * VIP类型
     */
    @TableField("vip_type")
    private Integer vipType;

    /**
     * 名称
     */
    @TableField("name")
    private String name;

    /**
     * VIP价格信息
     */
    @TableField("price")
    private BigDecimal price;

    /**
     * 排序
     */
    @TableField("sort")
    private Integer sort;

    /**
     * 内容描述
     */
    @TableField("text")
    private String text;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;


    public Integer getVipId() {
        return vipId;
    }

    public void setVipId(Integer vipId) {
        this.vipId = vipId;
    }

    public Integer getVipType() {
        return vipType;
    }

    public void setVipType(Integer vipType) {
        this.vipType = vipType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Vip{" +
        "vipId=" + vipId +
        ", vipType=" + vipType +
        ", name=" + name +
        ", price=" + price +
        ", sort=" + sort +
        ", text=" + text +
        ", updateTime=" + updateTime +
        "}";
    }
}
